package com.yzs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("t_msg_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MsgInfo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer fromUserId;
    private String fromUserName;
    private Integer toUserId;
    private String toUserName;
    private String content;
    private String createTime;
    private Integer unreadFlag;
}
